package com.rzht.framework.data;

import com.rzht.framework.model.login.User;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by lk on 2017/7/24.
 */

public interface Api {

    @FormUrlEncoded
    @POST("app/login")
    Observable<BaseResponse<User>> getUserInfo(@FieldMap Map<String, String> params);

}
